"Organized by Fabio
if exists("b:__PHP_CONST_XPT_VIM__")
    finish
endif
let b:__PHP_CONST_XPT_VIM__ = 1

" containers
"let [s:f, s:v] = XPTcontainer() 

" ========================= Function and Variables ============================= 

" ================================= Snippets =================================== 
XPTemplateDef

XPT serverHttps hint="$_SERVER['HTTPS']"
$_SERVER['HTTPS']

XPT serverInterface hint="$_SERVER['GATEWAY_INTERFACE']"
$_SERVER['GATEWAY_INTERFACE']

XPT serverAddr hint="$_SERVER['SERVER_ADDR']"
$_SERVER['SERVER_ADDR']

XPT serverName hint="$_SERVER['SERVER_NAME']"
$_SERVER['SERVER_NAME']

XPT serverSoftware hint="$_SERVER['SERVER_SOFTWARE']"
$_SERVER['SERVER_SOFTWARE']

XPT serverProtocol hint="$_SERVER['SERVER_PROTOCOL']"
$_SERVER['SERVER_PROTOCOL']

XPT serverMethod hint="$_SERVER['REQUEST_METHOD']"
$_SERVER['REQUEST_METHOD']

XPT serverTime hint="$_SERVER['REQUEST_TIME']"
$_SERVER['REQUEST_TIME']

XPT serverString hint="$_SERVER['QUERY_STRING']"
$_SERVER['QUERY_STRING']

XPT serverRoot hint="$_SERVER['DOCUMENT_ROOT']"
$_SERVER['DOCUMENT_ROOT']

XPT serverAccept hint="$_SERVER['HTTP_ACCEPT']"
$_SERVER['HTTP_ACCEPT']

XPT serverAcceptCharset hint="$_SERVER['HTTP_ACCEPT_CHARSET']"
$_SERVER['HTTP_ACCEPT_CHARSET']

XPT serverAcceptEncoding hint="$_SERVER['HTTP_ACCEPT_ENCODING']"
$_SERVER['HTTP_ACCEPT_ENCODING']

XPT serverAcceptLanguage hint="$_SERVER['HTTP_ACCEPT_LANGUAGE']"
$_SERVER['HTTP_ACCEPT_LANGUAGE']

XPT serverConnection hint="$_SERVER['HTTP_CONNECTION']"
$_SERVER['HTTP_CONNECTION']

XPT serverHost hint="$_SERVER['HTTP_HOST']"
$_SERVER['HTTP_HOST']

XPT serverReferer hint="$_SERVER['HTTP_REFERER']"
$_SERVER['HTTP_REFERER']

XPT serverUserAgent hint="$_SERVER['HTTP_USER_AGENT']"
$_SERVER['HTTP_USER_AGENT']

XPT serverAddr hint="$_SERVER['REMOTE_ADDR']"
$_SERVER['REMOTE_ADDR']

XPT serverHost hint="$_SERVER['REMOTE_HOST']"
$_SERVER['REMOTE_HOST']

XPT serverPort hint="$_SERVER['REMOTE_PORT']"
$_SERVER['REMOTE_PORT']

XPT serverFilename hint="$_SERVER['SCRIPT_FILENAME']"
$_SERVER['SCRIPT_FILENAME']

XPT serverAdmin hint="$_SERVER['SERVER_ADMIN']"
$_SERVER['SERVER_ADMIN']

XPT serverPort hint="$_SERVER['SERVER_PORT']"
$_SERVER['SERVER_PORT']

XPT serverSignature hint="$_SERVER['SERVER_SIGNATURE']"
$_SERVER['SERVER_SIGNATURE']

XPT serverTranslated hint="$_SERVER['PATH_TRANSLATED']"
$_SERVER['PATH_TRANSLATED']

XPT serverName hint="$_SERVER['SCRIPT_NAME']"
$_SERVER['SCRIPT_NAME']

XPT serverUri hint="$_SERVER['REQUEST_URI']"
$_SERVER['REQUEST_URI']

XPT serverAuthDigest hint="$_SERVER['PHP_AUTH_DIGEST']"
$_SERVER['PHP_AUTH_DIGEST']

XPT serverAuthUser hint="$_SERVER['PHP_AUTH_USER']"
$_SERVER['PHP_AUTH_USER']

XPT serverAuthPw hint="$_SERVER['PHP_AUTH_PW']"
$_SERVER['PHP_AUTH_PW']

XPT serverType hint="$_SERVER['AUTH_TYPE']"
$_SERVER['AUTH_TYPE']

XPT _l hint=__LINE__
__LINE__

XPT _f hint=__FILE__
__FILE__

XPT _d hint=__DIR__
__DIR__

XPT _f hint=__FUNCTION__
__FUNCTION__

XPT _c hint=__CLASS__
__CLASS__

XPT _m hint=__METHOD__
__METHOD__

XPT _ns hint=__NAMESPACE__
__NAMESPACE__
